-
Notifications
You must be signed in to change notification settings - Fork 7.6k
fix(uart): Fixes UART CI script to work with Arduino Core 3.2.x #11077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Hello SuGlider, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 76 files 76 suites 12m 49s ⏱️ For more details on these failures, see this check. Results for commit 293d0bf. ♻️ This comment has been updated with latest results. |
Is ESP32 test also supposed to pass ? |
Yes. It works with the real device. It just fails with Wokwi.-The sketch with the ESP32 and Wokwi reports 2 fails, but if I comment out the Line 56 [
|
Wokwi ESP32 fails with the pinMode() in line 56|58 Real device with Arduino Core 3.1.2 and 3.2 needs it to fix the issue. This patch will skip the pinMode() when compiling with Wokwi and make it pass the CI test case.
@lucasssvaz - Wokwi reports different CI test results than the real ESP32 device. Is there any way to detect that it is running on Wokwi and skip the part of the code ( |
@lucasssvaz - I have found out that Wokwi runs Arduino Core 3.1.1. The target of this patch is for Core 3.1.2 onwards. That may explain the issue with ESP32 and Wokwi. Note: using Arduino Core 3.1.1 + ESP32, it won't fail in the Real Device... only Wokwi fails. |
Wokwi runs the binaries we compile, in this case 3.2.0. Wokwi online editor has fixed versions like this but its not our case. Anyway, if it works in the actual hardware. That's what matters. I will report to Uri. |
@SuGlider Can you test wokwi locally with the changes I pushed to see if it works ? |
No, it also fails locally.
|
Description of Change
Fixes the UART CI script to work correctly with Arduino Core 3.1.2+ / 3.2.x
Tests scenarios
ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C6 | ESP32-P4 using the CI script
Related links
None